import service from '../utils/request'
export default {
    findTicket(ticketQuery){
        return service(
            {
                url: `ticket/findTicket`,
                method: 'post',
                header:{
                    'Content-Type':'application/json'  //如果写成contentType会报错,如果不写这条也报错
                },
                data:ticketQuery

            }
        )
    },
    addTicketKind(ticketQuery){
        return service(
            {
                url: `ticket/addTicket`,
                method: "post",
                header:{
                    'Content-Type':'application/json'  //如果写成contentType会报错,如果不写这条也报错
                },
                data:ticketQuery
            }
        )
    }
}
